export class ChangeSuperTubeVO_Rules { // ChangeSuperTubeVO表单的验证规则
  constructor() {
    this.userName = [
      {
        required: true,
        message: '姓名不能为空',
        trigger: 'blur'
      }
    ];
    this.code = [
      {
        required: true,
        message: '验证码不能为空',
        trigger: 'blur'
      },
      {
        min: 6,
        max: 6,
        trigger: 'blur'
      }
    ];
  }
}
export class ChapterSettingsVO_Rules { // 品势章节设置
  constructor() {
    this.name = [
      {
        required: true,
        message: '品势名称不能为空',
        trigger: 'blur'
      }
    ];
  }
}
export class CompetitiveDataVO_Rules { // 经济数据设置
  constructor() {
    this.name = [
      {
        required: true,
        message: '名称不能为空',
        trigger: 'blur'
      }
    ];
    this.bodyThreshold = [
      {
        required: true,
        message: '身体阈值不能为空',
        trigger: 'blur'
      }
    ];
    this.headThreshold = [
      {
        required: true,
        message: '头部阈值不能为空',
        trigger: 'blur'
      }
    ];
    this.maxDiffScore = [
      {
        required: true,
        message: '最大分差数',
        trigger: 'blur'
      }
    ];
    this.maxFoul = [
      {
        required: true,
        message: '最大犯规数',
        trigger: 'blur'
      }
    ];
    this.gConsideration = [
      {
        required: true,
        message: '不能为空',
        trigger: 'blur'
      }
    ];
    this.rConsideration = [
      {
        required: true,
        message: '不能为空',
        trigger: 'blur'
      }
    ];
    this.rounds = [
      {
        required: true,
        message: '回合数',
        trigger: 'blur'
      }
    ];
    this.roundMinutes = [
      {
        required: true,
        message: '回合时间不能为空',
        trigger: 'blur'
      }
    ];
    this.roundSeconds = [
      {
        required: true,
        message: '回合时间不能为空',
        trigger: 'blur'
      }
    ];
    this.breakMinutes = [
      {
        required: true,
        message: '休息时间不能为空',
        trigger: 'blur'
      }
    ];
    this.breakSeconds = [
      {
        required: true,
        message: '休息时间不能为空',
        trigger: 'blur'
      }
    ];
    this.timingMinutes = [
      {
        required: true,
        message: '计时时间不能为空',
        trigger: 'blur'
      }
    ];
    this.timingSeconds = [
      {
        required: true,
        message: '计时时间不能为空',
        trigger: 'blur'
      }
    ];
    this.extraMinutes = [
      {
        required: true,
        message: '加时赛时间不能为空',
        trigger: 'blur'
      }
    ];
    this.extraSeconds = [
      {
        required: true,
        message: '加时赛时间不能为空',
        trigger: 'blur'
      }
    ];
    this.extraScore = [
      {
        required: true,
        message: '加时赛分数不能为空',
        trigger: 'blur'
      }
    ];
  }
}
export class TestVO_Rules { // 测试表单的验证规则
  constructor() {
    this.name = [
      {
        required: true,
        message: '姓名不能为空',
        trigger: 'blur'
      }
    ];
    this.type = [
      {
        required: true,
        message: '验证码不能为空',
        trigger: 'blur'
      }
    ];
    this.address = [
      {
        required: true,
        message: '验证码不能为空',
        trigger: 'blur'
      }
    ];
  }
}

export class SubjectDialogAdd_Rules {
  constructor() {
    this.name = [
      {
        required: true,
        message: '请输入科目名称',
        trigger: 'blur'
      }
    ];
    this.memberPrice = [
      {
        required: true,
        message: '请输入会员价格',
        trigger: 'blur'
      }
    ];
    this.nonMemberPrice = [
      {
        required: true,
        message: '请输入非会员价格',
        trigger: 'blur'
      }
    ];
    // this.certificateName = [
    //   {
    //     required: true,
    //     message: '请输入证书名称',
    //     trigger: 'blur'
    //   }
    // ];
    this.isEntryRequired = [
      {
        required: true,
        message: '请选择是否为必报科目',
        trigger: 'change'
      }
    ];
  }
}

export class CreateEditionInput_Rules {
  constructor() {
    this.name = [
      {
        required: true,
        message: '请输入系统版本名称',
        trigger: 'blur'
      }
    ];
    this.price = [
      {
        required: true,
        message: '请输入系统售价',
        trigger: 'blur'
      }
    ];
    this.validity = [
      {
        required: true,
        message: '请输入有效期',
        trigger: 'blur'
      }
    ];
    this.moduleIds = [
      {
        required: true,
        message: '请选择系统功能模块',
        trigger: 'change'
      }
    ];
  }
}
